package com.indusfo.spc.pda.controller;

import com.indusfo.spc.pda.pojo.OrderDosingDto;
import com.indusfo.spc.pda.service.OrderDosingDetailService;
import com.indusfo.spc.vo.JSONObject;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @ClassName OrderDosingDetailController
 * @Description
 * @Author louk
 * @Date 2019/12/25 14:20
 */
@RestController
@RequestMapping("/pda/orderDosingDetail")
public class OrderDosingDetailController {

    @Resource
    OrderDosingDetailService orderDosingDetailService;

    @RequestMapping("insertOrderDosingDetail")
    public JSONObject insertOrderDosingDetail(OrderDosingDto orderDosingDto){
        return  orderDosingDetailService.insertOrderDosingDetail(orderDosingDto);
    }

}
